package com.jiaotong.smart.smartjiaotong.entity;

import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * OperateLog 实体
 * 
 * @author chendong
 */
@Getter
@Setter
@ToString
@TableName("operatelog")
public class OperateLog implements Serializable {

	/**
	 * Primary Key
	 */

	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * Create Time
	 */
	private LocalDateTime createTime;

	/**
	 * 信号机名称
	 */
	private String name;

	/**
	 * 用户名
	 */
	private String user;

	/**
	 * ip地址
	 */
	private String ip;

	/**
	 * 操作类型
	 */
	private String operateType;

	/**
	 * 描述
	 */
	private String comment;

}
